package com.yphone.ui.ysj.model;

import com.yphone.net.IUIDataListener;
import com.yphone.ui.ysj.contract.YSJaddDeveceContract;

public class YSJAddDeveceModel implements YSJaddDeveceContract.IModel {
//    private ActivityHttpHelper mActivityHttpHelper;

    public void sendGetRequest(IUIDataListener iuiDataListener) {
//        try {
//            if (this.mActivityHttpHelper == null) {
//                this.mActivityHttpHelper = new ActivityHttpHelper(new TypeToken<BaseResultWrapper<OrderInfoRespone>>() {
//                });
//            }
//            CreateOrderRequest info = new CreateOrderRequest();
//            info.UCID = LoginManager.getInstance().getUCID();
//            BaseHttpRequest baseHttpRequest = new BaseHttpRequest();
//            this.mActivityHttpHelper.UpdateUIDataListener(iuiDataListener);
//            this.mActivityHttpHelper.sendPostRequest(HttpConstants.app_create_order, baseHttpRequest.toMapPrames(info), MyValues.getInstance().getPostTimeOut());
//        } catch (Exception e) {
//            e.printStackTrace();
//        }
    }

    public void destory() {
//        if (this.mActivityHttpHelper != null) {
//            this.mActivityHttpHelper.stopRequest();
//        }
    }
}